package slu.appli.tools.parser.stringparser.impl.treemodel;

import slu.appli.tools.parser.stringparser.interfaces.model.ModelBuilderInterface;
import slu.appli.tools.parser.stringparser.interfaces.model.ModelInterface;
import slu.appli.tools.parser.stringparser.interfaces.model.ModelReaderInterface;

public class BasicTreeModel 
implements ModelInterface {
	private BasicTreeNode root = new BasicTreeNode();

	public ModelBuilderInterface getModelBuilder() {
		this.root = new BasicTreeNode();
		BasicTreeModelBuilder modelBuilder = new BasicTreeModelBuilder(this.root);
		return modelBuilder;
	}

	public ModelReaderInterface getModelReader() {
		return new BasicTreeModelReader(this.root);
	}

}
